﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SnakeGame_Roman
{
   public class GameField
    {
        public int lenght{get;set;}
        public int width {get;set;}
        public int centreX { get; set; }
        public int centreY { get; set; }

        public GameField()
        {

        }

        public GameField(int x, int y)
          :this() 
        {
          this.lenght = x;
          this.width = y;
          this.centreX = lenght / 2;
          this.centreY = width / 2;
        }
    
    }

}
    

    

    

